//
//  CertificationFreeViewController.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/22.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "CertificationFreeViewController.h"
#import "CertitficationViewModel.h"
#import "CerfiticationFreeOkViewController.h"


@interface CertificationFreeViewController ()<CertificationDelegate>
@property (nonatomic,strong)CertitficationViewModel * cerViewModel;
@end

@implementation CertificationFreeViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"认证自由经理人";
    self.cerViewModel = [[CertitficationViewModel alloc] initWithViewToViewScrollView:self.myScrollView theSuperView:self.view];
    self.cerViewModel.delegate = self;
}

#pragma mark -- CertificationDelegate
-(void)cerComintActionOk{
    CerfiticationFreeOkViewController * cerfiticationOkVC = [CerfiticationFreeOkViewController new];
    [self.navigationController pushViewController:cerfiticationOkVC animated:YES];
}

-(void)jumpAction{
    [self backBtnClicked];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
